package com.zxq.shiluwengan.controller;


import com.zxq.shiluwengan.frame.decoder._09SetCoinAndIcResult;
import com.zxq.shiluwengan.frame.encoder._09SetCoinAndIcCmd;
import com.zxq.shiluwengan.result.ResultVO;
import com.zxq.shiluwengan.service.impl.PlatformExchange;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class _09SetCoinAndIcController extends PlatformExchange<_09SetCoinAndIcCmd, _09SetCoinAndIcResult> {


    @Override
    public Integer getCmd() {
        return 0x09;
    }

    @PostMapping("exchange/09")
    @Override
    public ResultVO<_09SetCoinAndIcResult> exchange(@RequestBody _09SetCoinAndIcCmd order) {
        return super.exchange(order);
    }

    @Override
    public _09SetCoinAndIcResult getResult() {
        return new _09SetCoinAndIcResult();
    }
}
